package day1107.demo04;

/**
 * @program: qy158
 * @description:
 * @author: 闫克起2
 * @create: 2022-11-07 10:20
 **/
public class Test {
    public static void main(String[] args) {

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Singleton1.getInstance());
            }
        }).start();

        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Singleton1.getInstance());
            }
        }).start();
    }
}
